﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using SWEN3WebService.Models;

namespace SWEN3WebService.Controllers
{
    public class BookingController : ApiController
    {
        readonly IBookingRepository BookingRepository = new BookingRepository();
        public int PostBooking(BookingList item)
        {
            return BookingRepository.AddBooking(item);
        }
    }
}
